$OpenBSD: patch-ircd_s_user_c,v 1.2 2001/04/20 07:31:36 bmc Exp $
--- ircd/s_user.c.orig	Tue Jun  6 18:35:12 2000
+++ ircd/s_user.c	Fri Apr 20 02:52:27 2001
@@ -2376,7 +2376,7 @@ char	*parv[];
 		       parv[0], sptr->user->username, sptr->user->host,
 		       sptr->auth, IsUnixSocket(sptr) ? sptr->sockhost :
 #ifdef INET6
-                       inet_ntop(AF_INET6, (char *)&sptr->ip), mydummy, MYDUMMY_SIZE);
+                       inet_ntop(AF_INET6, (char *)&sptr->ip, mydummy, sizeof(mydummy))); 
 #else
                        inetntoa((char *)&sptr->ip));
 #endif
@@ -2403,7 +2403,7 @@ char	*parv[];
 			  parv[0], sptr->user->username, sptr->user->host,
 			  sptr->auth, IsUnixSocket(sptr) ? sptr->sockhost :
 #ifdef INET6
-			  inetntop(AF_INET6, (char *)&sptr->ip, mydummy,
+			  inet_ntop(AF_INET6, (char *)&sptr->ip, mydummy,
 				   MYDUMMY_SIZE));
 #else
 			  inetntoa((char *)&sptr->ip));
